package com.mskj.zxmy.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "出库明细实体类", description = "出库明细的字段信息")
public class ck02CheckoutFormCheckout {

    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "产品信息")
    private Integer productInformation;

    @Schema(description = "产品信息显示")
    private String productInfo;

    @Schema(description = "批次号")
    private String batchNumber;

    @JsonIgnore
    @Schema(description = "申请出库数量")
    private Double numberOfApplicationsToTheLibrary;

    @Schema(description = "出库数量")
    private Double numberOfReleases;

    @Schema(description = "已出库数量")
    private Double numberOfReleased;

    @Schema(description = "剩余出库数量")
    private Double numberOfRemainingShipments;

    @Schema(description = "当前库存")
    private Double numberOfReleases1;

    @Schema(description = "仓库")
    private String warehouse;

    @Schema(description = "出库状态")
    private String documentStatus;

    @Schema(description = "来货单价")
    private Double inventoryInPrice;

    @Schema(description = "未税金额")
    private Double numberOfDeposits;

    @Schema(description = "申请出库原因ID")
    private String originatingOutboundApplication;

    @Schema(description = "关联出库申请单")
    private String associatedOutboundApplication;

    @Schema(description = "关联出库单")
    private String linkOutList;

    @Schema(description = "关联发货单")
    private String associatedConsignmentOrder;

    @Schema(description = "创建人")
    private String synchronisingFolderFailedSS;

    @Schema(description = "创建时间")
    private LocalDateTime created;

    @Schema(description = "修改人")
    private String modifier;

    @Schema(description = "修改时间")
    private LocalDateTime modified;

    @Schema(description = "对账数量")
    private Double numberOfReconciliations;

    @Schema(description = "税率")
    private Double taxRate;

    @Schema(description = "含税价")
    private Double valueWithTax;

    @Schema(description = "含税金额")
    private Double amountIncludingTaxes;

    @Schema(description = "税额")
    private Double taxes;

    @Schema(description = "折扣率")
    private Double discountRate;

    @Schema(description = "折扣额")
    private Double discount;

}